/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author MAN
 */
public interface DaoGenerico<T> {

    public boolean existe(Object o) throws SQLException;
    public  Object extrae(Object id) throws SQLException;
    public Object load(ResultSet rs) throws SQLException;
    public  void crear(Object o) throws SQLException;
    public  Object extrae2(Object id) throws SQLException;
    public  List listar () throws SQLException;
    public  List listar (Object o) throws SQLException;
    public  List listarlista (List l) throws SQLException;
    public Cliente find(Integer id) throws SQLException;

}
